Q: I've tried everything, and I can't seem to get the Speaker/Listener connection to work correctly for byte-arrays. I can transmit null-terminated strings, but byte-arrays just won't work. I even read all the documentation for the Speaker and Listener classes. How does this work?\
\
A: The documents are wrong. The man page on msgwrap has the solution, though. You need to declare the parameter as (byte *) IN YOUR .MSG FILE, but keep the parameter declared as (char *)\
in your method declarations. Note that you still should follow every (byte *) with a (int) that specifies the length of the byte array. Note also that, to receive byte-arrays, you should declare the parameter as (byte **), and follow it with a (int *), but should leave the declaration as (char **) for your methods.\